// react 没有全局组件和局部组件的概念（都是局部）
// 在哪用在哪儿引入即可

import React, {
  useLayoutEffect,
  useEffect,
  useRef,
  useState,
  useCallback,
  useMemo,
  useDebugValue,
  useId,
} from "react";
import Card from "./components/Card";


const App: React.FC = () => { 
  return (
    <>
    <Card title2={"我见过龙2"}></Card>
    <Card title1={""} title2={"我见过外星人2"}></Card>
    <button onClick={()=>window.onShow()}>调用message</button>
    </>
  )
};

export default App;
